package com.crowntit.types.design.framework.tree;

/**
 * 执行器，具体实施的根
 * @param <T> 入参
 * @param <D> 动态上下文
 * @param <R> 出参
 */
public interface StrategyHandler<T, D, R> {

    StrategyHandler DEFAULT = (T, D) -> null;

    R apply(T requestParameter, D dynamicContext) throws Exception;
}
